OBJ=database.o sqlite3.o

all : $(OBJ)
	cp $^ ../../../obj/server/

database.o : database.c
	arm-none-linux-gnueabi-gcc -c -Wall $^ -o  $@ -I../../../include/ -I../include/
sqlite3.o:sqlite3.c 
	arm-none-linux-gnueabi-gcc -c -Wall $^ -o $@ -I../include/

.PHONY:clean

clean : 
	rm *.o
